﻿using System;
using Npgsql;
using System.Configuration;

namespace ADO.DataAccess.DAO.CLASS
{
    public class Conexion
    {

        public Conexion()
        {
            MiConexion =
                        new NpgsqlConnection(ConfigurationManager.ConnectionStrings["ado.net"].ConnectionString);
            MiComando = new NpgsqlCommand();
            MiAdapter = new NpgsqlDataAdapter();
        }

        public NpgsqlConnection MiConexion { get; set; }

        public NpgsqlCommand MiComando { get; set; }

        public NpgsqlDataAdapter MiAdapter { get; set; }

    }
}